Component({
  properties: {},
  data: {
    searchText: "",
    shouldIconHide: false
  },
  methods: {
    onConfirm(e) {
    },
    onTap(e) {

    },
    onFocus(e) {
    },
    onBlur(e) {
      // console.log(e);
      this.setData({
        shouldIconHide: e.detail.value !== ""
      })
      this.triggerEvent("search", e.detail.value)
    }
  }
})
